import request from '@/utils/request'

// 面经列表
export const getArticleAPI = (obj) => {
  return request({
    url: '/interview/query',
    method: 'get',
    params: {
      current: obj.current,
      sorter: obj.sorter,
      pageSize: 50
    }
  })
}

// 面经详情
export const getArticleDetailAPI = (id) => {
  return request.get('/interview/show', {
    params: {
      id
    }
  })
}
